# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=sigrok-cli
pkgver=0.7.1
pkgrel=0
pkgdesc="A command-line frontend for sigrok"
url="https://sigrok.org/wiki/Sigrok-cli"
makedepends="libserialport-dev libsigrok-dev libsigrokdecode-dev"
arch="all"
license="GPL-3.0-only"
source="http://sigrok.org/download/source/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a56d9439efca74f8362ed225d8fa92adfaee053470b166629ad2d8f3ebf5bea05a37782750c9321aabd3b47e634734fa5e5b0cc5353bf49dd1629cdcdb98aef5  sigrok-cli-0.7.1.tar.gz"
